/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package questao07;

/**
 *
 * @author SDKW
 */
public abstract class Sensor {  
    protected Alarme alarme = null;  
    
    public Sensor(Alarme alarme) {
        this.alarme = alarme;
        this.alarme.adicionarObservado(this);
    }
}
